package cn.tx.api.config;

/**
 * @author: 可乐加糖
 * @create: 2023-02-27 15:49
 * @Description: SpringBoot 服务停止输出日志
 */
import javax.annotation.PreDestroy;

public class TerminateBean {

    @PreDestroy
    public void preDestroy() {
        System.out.println("TerminalBean is destroyed");
    }

}